package com.iwomy.secureplat.platform.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.iwomy.secureplat.common.data.datascope.DataScope;
import com.iwomy.secureplat.platform.entity.DeviceEventReportEntity;
import com.iwomy.secureplat.platform.mapper.DeviceEventReportMapper;
import com.iwomy.secureplat.platform.service.DeviceEventReportService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 设备事件报表
 *
 * @author pig
 * @date 2023-12-29 15:16:04
 */
@Service
public class DeviceEventReportServiceImpl extends ServiceImpl<DeviceEventReportMapper, DeviceEventReportEntity> implements DeviceEventReportService {
    @Override
    public List<DeviceEventReportEntity> listByScope(LambdaQueryWrapper<DeviceEventReportEntity> lambdaQueryWrapper, DataScope dataScope) {
        List<DeviceEventReportEntity> list = this.baseMapper.selectListByScope(lambdaQueryWrapper, dataScope);
        return list;
    }
}